package com.hnas.eCard.service;

import java.util.List;

import com.hnas.eCard.orm.EntityDenominationRe;
import com.hnas.eCard.service.dto.DTOEntityCardOrder;
import com.hnas.eCard.service.dto.DTOEntityCardOrderDetail;
import com.hnas.eCard.service.dto.DTOSaleCardOrder;
import com.hnas.eCard.service.dto.DTOSaleCardOrderDetail;

public interface SaleCardOrderService {
	/**
	 * 保存售卡订单信息
	 * @Title: saveOrUpdate  
	 * @Description:  
	 * @param vo
	 * @return
	 * @throws
	 */
	Boolean save(DTOSaleCardOrder orderDto,DTOSaleCardOrderDetail detailDto);
	/**
	 * 根据订单编号查询售卡订单记录
	 * @Title: findByOrderNo  
	 * @Description:  
	 * @param orderNo
	 * @return
	 * @throws
	 */
	DTOSaleCardOrder findByOrderNo(String orderNo);
	/**
	 * 根据swiftNumber查询售卡订单记录
	 * @Title: getBySwiftNumber  
	 * @Description:  
	 * @param swiftNumber
	 * @return
	 * @throws
	 */
	DTOSaleCardOrder getBySwiftNumber(String swiftNumber);
	boolean saveEntityCard(DTOSaleCardOrder orderDto,DTOEntityCardOrderDetail entityCardOrderDetail, List<EntityDenominationRe> entityDenominationReList);
	
	DTOEntityCardOrder getEntityBySwiftNumber(String swiftNumber);
	
	List<DTOEntityCardOrder> findEntityOrderListByAccId(String accId);
	DTOEntityCardOrder getEntityByOrderNo(String orderNo);
	DTOEntityCardOrder getCommoditByOrderNo(String orderNo);
}
